AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Represents a strongly-typed object for writing/deleting a batch of items in a single DynamoDB table

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DataModel.BatchWrite
    Amazon.DynamoDBv2.DataModel.BatchWrite<>

Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class BatchWrite<> : BatchWrite

The BatchWrite<> type exposes the following members

Methods

NameDescription
Public Method AddDeleteItem(T)
Public Method AddDeleteItems(IEnumerable<T>)
Public Method AddDeleteKey(object) Add a single item to be deleted in the current batch operation. Item is identified by its hash primary key.
Public Method AddDeleteKey(object, object) Add a single item to be deleted in the current batch operation. Item is identified by its hash-and-range primary key.
Public Method AddPutItem(T)
Public Method AddPutItems(IEnumerable<T>)
Public Method BeginExecute(AsyncCallback, object) Initiates the asynchronous execution of the Execute operation. Amazon.DynamoDBv2.DataModel.BatchWrite.Execute
Public Method Combine(BatchWrite[]) Creates a MultiTableBatchWrite object that is a combination of the current BatchWrite and the specified BatchWrites
Public Method EndExecute(IAsyncResult) Finishes the asynchronous execution of the Execute operation. Amazon.DynamoDBv2.DataModel.BatchWrite.Execute
Public Method Execute() Executes a server call to batch-write/delete the items requested. If more than 25 put/delete operations are specified, calls of up to 25 put/delete items will be made until all items are processed.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8

.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8